<b class="xtop2"><b class="xb12"></b><b class="xb22"></b><b class="xb32"></b><b class="xb42"></b></b>

<div class="box_utama">
    <div class="box_akun">
            <img class="icon_judul" src="images/icon_judul.png" alt="" title="" />
            <div class="judul_akun"><b><?php echo $judul ?></b></div>
    </div>

    <?php if(isset($updated)) : ?>
    <div class="validasi">
        <h3>Data Anda berhasil diperbarui. Silahkan logout terlebih dahulu untuk melihat perubahannya</h3>
        <p><?php echo anchor("akun/user", "Kembali ke profil", array('style' => 'font-weight: bold; color:#990000')) ?></p>
    </div>
    <?php else: ?>
    <div class="validasi">
        <h3>Silahkan mengisi kembali data diri Anda.</h3>
    </div>

    <div class="box_edit_akun">
        <div class="root_edit_akun">

            <b class="xtop"><b class="x1"></b><b class="x2"></b><b class="x3"></b><b class="x4"></b></b>
            <div class="edit_akun">

            <?php echo form_open('akun/edit_profil', array('id' => 'form1')); ?>
            <?php echo validation_errors(); ?>
                <div class="form_row_regis">
                    <span>Nama Lengkap</span>
                    <input type="text" name="input_namalengkap" value="<?php echo $user_data['nama_lengkap'] ?>"/>
                </div>
                <div class="form_row_regis">
                    <span>Email</span>
                    <input type="text" name="input_email" value="<?php echo $user_data['email'] ?>"/>
                </div>
                <div class="form_row_regis">
                    <span>No Telp</span>
                    <input type="text" name="input_telp" value="<?php echo $user_data['telp'] ?>"/>
                </div>
                <div class="form_row_regis">
                    <span>Umur</span>
                    <input type="text" name="input_umur" value="<?php echo $user_data['umur'] ?>"/>
                </div>
                <div class="form_row_regis">
                    <span>Pekerjaan</span>
                    <input type="text"name="input_pekerjaan" value="<?php echo $user_data['pekerjaan'] ?>"/>
                </div>
                <div class="form_row_regis">
                    <span>Tempat Lahir</span>
                    <input type="text" name="input_tempatlahir" value="<?php echo $user_data['tempat_lahir'] ?>"/>
                </div>
                <div class="form_row_regis">
                    <span>Tanggal Lahir</span>
                    <input type="text" name="input_tgllahir" value="<?php echo $user_data['tgl_lahir'] ?>"/>
                </div>
                <div class="form_row_regis">
                    <span>Alamat</span>
                    <input type="text" name="input_alamat" value="<?php echo $user_data['alamat'] ?>"/>
                </div>
                <div class="form_row_ket_profil">
                    <p>Semua kolom harus diisi</p>
                </div>
                <div class="form_row_regis_submit_profil">
                    <input class="submit" type="submit" name="submit" value="Simpan" >
                </div>


            <?php echo form_close(); ?>
            </div>
            <b class="xbottom"><b class="x4"></b><b class="x3"></b><b class="x2"></b><b class="x1"></b></b>

        </div>
    </div>

    <?php endif; ?>
    <div class="clear"></div>

</div>

<b class="xbottom2"><b class="xb42"></b><b class="xb32"></b><b class="xb22"></b><b class="xb12"></b></b>
